import {Component, OnInit, ViewChild} from '@angular/core';

export let Zero3AlertLg: Zero3AlertLgComponent;

@Component({
    selector: 'app-zero3-alert-lg',
    templateUrl: './zero3-alert-lg.component.html',
    styleUrls: ['./zero3-alert-lg.component.css']
})
export class Zero3AlertLgComponent implements OnInit {

    @ViewChild('lgModal')
    lgModal;

    message;

    constructor() {
        Zero3AlertLg = this;
    }

    ngOnInit() {
    }

    setMessage(message) {
        this.message = message;
    }

    show(message) {
        this.message = message;
        this.lgModal.show();
    }

    reShow() {
        this.lgModal.show();
    }

}
